package com.nyist;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients
@EnableCircuitBreaker  //服务降级需要
public class ConsumerHystrixMain {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerHystrixMain.class,args);
    }
}
